package com.traffic.util;

import com.opensymphony.xwork2.ActionContext;
import com.traffic.domain.User;

public class SessionContext {
     public static User getUser(){
    	 return (User)ActionContext.getContext().getSession().get("user");
     }
     public void setUser(User user){
    	 ActionContext.getContext().getSession().put("user", user);
     }
}
